CSharpTest.Net
TryGetValue Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace > BTreeDictionary<TKey,TValue> Class : TryGetValue Method

key
value

Glossary Item Box

Gets the value associated with the specified key.

Syntax

Visual Basic (Declaration) 
Public Function TryGetValue( _
   ByVal key As TKey, _
   ByRef value As TValue _
) As Boolean
C# 
public bool TryGetValue( 
   TKey key,
   out TValue value
)

Parameters

key
value

Return Value

true if the object that implements IDictionary contains an element with the specified key; otherwise, false.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys